package com.open.pay.wechat.infrastructure.common.constant;

/**
 * 常量
 *
 * @author zhang kaichao
 * @since 2020/9/18 08:55:48
 */
public class PayConstant {

    public final static String CERT_NAME_TEST = "apiclient_cert_dycx_test.p12";

    public final static String CERT_NAME = "apiclient_cert_dycx_prod.p12";

    public final static String H5_TRADE_TYPE = "MWEB";

    public final static String MINI_TRADE_TYPE = "JSAPI";

    public final static String APP_TRADE_TYPE = "APP";

    public final static String JSAPI_TRADE_TYPE = "JSAPI";

    public static final String WX_SUCCESS = "SUCCESS";

    public static final String NOT_ENOUGH = "NOTENOUGH";

    public static final String ORDER_NOT_EXIST = "ORDERNOTEXIST";

    public final static String H5_SCENE_INFO = "{\"h5_info\": {\"type\":\"Wap\",\"wap_url\": \"http://slb.yndycx.com\",\"wap_name\": \"滇约出行\"}}";

    public final static String HMAC_SHA256 = "HMAC-SHA256";
    public final static String MD5 = "MD5";
    public final static String SIGN_NAME = "sign";

    public final static String REGEX_COUPON_TYPE = "^coupon_type_\\d$";
    public final static String REGEX_COUPON_ID = "^coupon_id_\\d$";
    public final static String REGEX_COUPON_FEE = "^coupon_fee_\\d$";

    public final static String REGEX_COUPON_REFUND_FEE = "^coupon_refund_fee_\\d$";
    public final static String REGEX_COUPON_REFUND_ID = "^coupon_refund_id_\\d$";

    public final static String REGEX_OUT_REFUND_NO = "^out_refund_no_\\d$";
    public final static String REGEX_REFUND_ID = "^refund_id_\\d$";
    public final static String REGEX_REFUND_CHANNEL = "^refund_channel_\\d$";
    public final static String REGEX_REFUND_FEE = "^refund_fee_\\d$";
    public final static String REGEX_SETTLEMENT_REFUND_FEE = "^settlement_refund_fee_\\d$";
    public final static String REGEX_COUPON_TYPE_TWO = "^coupon_type_\\d_\\d$";
    public final static String REGEX_COUPON_REFUND_COUNT = "^coupon_refund_count_\\d$";
    public final static String REGEX_COUPON_REFUND_ID_TWO = "^coupon_refund_id_\\d_\\d$";
    public final static String REGEX_COUPON_REFUND_FEE_TWO = "^coupon_refund_fee_\\d_\\d$";
    public final static String REGEX_REFUND_STATUS = "^refund_status_\\d$";
    public final static String REGEX_REFUND_ACCOUNT = "^refund_account_\\d$";
    public final static String REGEX_REFUND_RECV_ACCOUT = "^refund_recv_accout_\\d$";
    public final static String REGEX_REFUND_SUCCESS_TIME = "^refund_success_time_\\d$";

    /**
     * 日志tid
     */
    public final static String MDC_TRACE = "tid";
    /**
     * 排除日志打印controller
     */
    public final static String EXCLUDE_CONTROLLER = "com.dytz.channel.wechat.controlle.WechatPayController";
    /**
     * 排除日志打印方法
     */
    public final static String EXCLUDE_METHOD = "wechatBillQuery";

}
